/**
 * @project name:mail
 */
package com.situ.mail.shop.service;

import com.situ.mail.base.BaseService;
import com.situ.mail.shop.pojo.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Author : yun&bo
 * @CreateDate : ==>2020/12/24 10:11
 * @ClassName : ==>
 * @Description : ==>
 * @Version
 */
public interface UserService extends BaseService<User>  {

    public void initUserData();


    int doAddUser(User user);




    int findUserByCode(String userCode);

    User findUserByUser(User user);

    User selectByUserCodeAndUserPass(User user);


    int exitLogin(HttpServletRequest request, HttpServletResponse response);


}